package controller

import (
	"gddgame.cc/galaxy/utils/cache"
	"gddgame.cc/galaxy/utils/def"
)

var (
	wrap *cache.Wrap
)

func InitApp(context def.Context, factory def.StoreFactory) error {
	c := factory.Cache("core/app")
	wrap = cache.NewWrap(c)
	return nil
}
